package com.wyd.System.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wyd.System.Bean.Students;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 学生信息表 服务类
 * </p>
 *
 * @author 文永达
 * @since 2020-12-02
 */
public interface StudentsService extends IService<Students> {

    List<Students> findStudentId(String studentId);

    IPage<Students> findStudentPage(Page<Students> page, @Param(Constants.WRAPPER) QueryWrapper<Students> wrapper);

    void addStudent(Students students);

    void deleteStudentById(BigDecimal id);

    Students editStudentById(BigDecimal id);
}
